Optimal. Leaf size=45 \[ \frac{\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{5 a f \sqrt{c-c \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.307475, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {2841, 2738} \[ \frac{\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{5 a f \sqrt{c-c \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2841
Rule 2738
Rubi steps
\begin{align*} \int \frac{\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt{c-c \sin (e+f x)}} \, dx &=\frac{\int (a+a \sin (e+f x))^{9/2} \sqrt{c-c \sin (e+f x)} \, dx}{a c}\\ &=\frac{\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{5 a f \sqrt{c-c \sin (e+f x)}}\\ \end{align*}
Mathematica [B] time = 1.44084, size = 142, normalized size = 3.16 \[ \frac{a^3 (\sin (e+f x)+1)^3 \sqrt{a (\sin (e+f x)+1)} \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right ) (210 \sin (e+f x)-45 \sin (3 (e+f x))+\sin (5 (e+f x))-120 \cos (2 (e+f x))+10 \cos (4 (e+f x)))}{80 f \sqrt{c-c \sin (e+f x)} \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right )^7} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.231, size = 245, normalized size = 5.4 \begin{align*}{\frac{ \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{5}+\sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{4}+4\, \left ( \cos \left ( fx+e \right ) \right ) ^{4}-5\,\sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{3}-12\, \left ( \cos \left ( fx+e \right ) \right ) ^{3}-7\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -8\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+15\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) +16\,\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) -1 \right ) \sin \left ( fx+e \right ) }{5\,f \left ( \sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{3}+ \left ( \cos \left ( fx+e \right ) \right ) ^{4}-4\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) +3\, \left ( \cos \left ( fx+e \right ) \right ) ^{3}-4\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) -8\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+8\,\sin \left ( fx+e \right ) -4\,\cos \left ( fx+e \right ) +8 \right ) } \left ( a \left ( 1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{7}{2}}}{\frac{1}{\sqrt{-c \left ( -1+\sin \left ( fx+e \right ) \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{7}{2}} \cos \left (f x + e\right )^{2}}{\sqrt{-c \sin \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.7402, size = 270, normalized size = 6. \begin{align*} \frac{{\left (5 \, a^{3} \cos \left (f x + e\right )^{4} - 20 \, a^{3} \cos \left (f x + e\right )^{2} + 15 \, a^{3} +{\left (a^{3} \cos \left (f x + e\right )^{4} - 12 \, a^{3} \cos \left (f x + e\right )^{2} + 16 \, a^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{5 \, c f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{7}{2}} \cos \left (f x + e\right )^{2}}{\sqrt{-c \sin \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]